package com.ckx.feign;

import com.ckx.config.feign.FeignRequestInterceptor;
import com.ckx.feign.fallback.TestApiFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "performance", configuration = {FeignRequestInterceptor.class},
fallbackFactory = TestApiFallback.class)
public interface TestApi {

    @GetMapping("test/qq")
    String get();

}
